<template>
  <div>
    <h1>滚动条</h1>
    <div class="number">
      <p v-for="item in 100" :key="item">{{ item }}</p>
    </div>
  </div>
</template>

<script>
export default {

}
</script>

<style lang="scss" scoped>
.number{
  width: 300px;
  height: 500px;
  background-color: teal;
  color: #fff;
  font-size: 20px;
  overflow: auto;
}
</style>
